package com.farmUni.mapper;

import com.farmUni.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wxy
 * @since 2024-02-04
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {
    List<Long> selectArticleIdsOrderByLiking(@Param("offset") int offset, @Param("limit") int limit);
}
